package com.demo1;

public class Ship implements Vehicle {
    @Override
    public void run() {
        System.out.println("交通工具开始运行了");
        System.out.println("船开始运行了");
        System.out.println("交通工具停止运行了");
    }

    public void stop() {
        System.out.println("Ship is stopping");
    }
}
